import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import wasm from 'vite-plugin-wasm'


// https://vite.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    wasm(),
  ],
  optimizeDeps: {
    exclude: [
      // 排除 WASM 模块优化
      'rust-core',
    ]
  }
})
